package com.fili.core.sources;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Nov 16, 2006
 * Time: 4:36:13 PM
 * Revision: 0
 */
public class LocationMapping
{
    private int bigLine;
    private int smallFile;
    private int smallLine;

    public LocationMapping()
    {
        this(-1, -1, -1);
    }

    public LocationMapping(int bigLine)
    {
        this(bigLine, -1, -1);
    }

    public LocationMapping(int smallFile, int smallLine)
    {
        this(-1, smallFile, smallLine);
    }


    public LocationMapping(int bigLine, int smallFile, int smallLine)
    {
        this.bigLine = bigLine;
        this.smallFile = smallFile;
        this.smallLine = smallLine;
    }

    public LocationMapping(LocationMapping location)
    {
        this(location.bigLine, location.smallFile, location.smallLine);
    }

    public int getBigLine()
    {
        return bigLine;
    }

    public int getSmallFile()
    {
        return smallFile;
    }

    public int getSmallLine()
    {
        return smallLine;
    }

}